﻿namespace AiQiuQuan.Sport.Model
{
    /// <summary>
    /// jwtoption
    /// </summary>
    public class JwtOption
    {
        /// <summary>
        /// 颁发者
        /// </summary>
        public string Issuer { get; set; } = "http://localhost";

        /// <summary>
        /// 接受者
        /// </summary>
        public string Audience { get; set; } = "http://localhost";

        /// <summary>
        /// 过期秒数
        /// </summary>
        public int Expires { get; set; } = 3600;

        /// <summary>
        /// key
        /// </summary>
        public string SecurityKey { get; set; } = "adsfgqwertzxcvbyuiophjklnm";

        /// <summary>
        /// 刷新token过期秒数
        /// </summary>
        public int RefreshTokenExpires { get; set; } = 86400;
    }
}
